<?
require("config.php");
$listfield2 = "username";



require($rela_path . "inc/header.php");
?><br>

<table width="95%" border="0" align="center">
  <tr> 
    <td valign="top">

        <table border="0" cellspacing="1" cellpadding="1">
          <tr><td width="200">
		  
<?if (!$addrecord) {?>

<form name="form1" method="post">

        <table border="0" cellspacing="1" cellpadding="1">
          <tr> 
            <td><!--<input type="text" class="text" name="Code" size="20" value="Enter Code ..." onFocus="Code.value=''"></td>
            <td>-->
			<a href="add.php"><img src="<?print($rela_path)?>images/bt_add.gif" border="0"></a>
			</td>

			<td><img src="<?print($rela_path)?>images/shim.gif" width=30></td>

          </tr>
        </table>

</form>


<?}?>

</td><td align="left">

<form name="form2" method="get">

        <table border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td><input type="text" class="text" name="Search" size="40" value="Enter Code or Name or Email ..." onFocus="Search.value=''"><input type="hidden" name="action" value="search"></td>
			<td>
			<input name="image" type="image" src="<?print($rela_path)?>images/bt_search.gif">
			</td><td>
			<input name="image" type="image" src="<?print($rela_path)?>images/bt_listall.gif" onClick="Redirect('<?echo $PHP_SELF?>',1);return false;"> 
			&nbsp;&nbsp; <a href="<?print($rela_path)?>report/export_cus.php"><img src="<?print($rela_path)?>images/excel.gif" border="0" align="top"></a> 
			</td>
          </tr>
        </table>
</form>

			</td>
          </tr>
        </table>
		
<?require($rela_path . "inc/list_cus.php")?>

</td>

  </tr>
</table>
<br>
<br>
<br>
<?
require($rela_path . "inc/footer.php");
?>
